
package com.hlkj.pay.app.merchant.ext.impl.helipay.dto;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.pay.app.merchant.ext.impl.helipay.util.SignatureType;

import lombok.Data;

/**
 * @author HlpayTeam
 * @date 2024/12/12 16:07
 */
@Data
public class SignAndEncryptedContent {

    private String sign;

    private String encryptedStr;

    private SignatureType signType;

    /**
     * 加密秘钥(国密算法时必填)
     */
    private String encryptionKey;

    public SignAndEncryptedContent(String sign, String encryptedStr, SignatureType signType, String encryptionKey) {
        this.sign = sign;
        this.encryptedStr = encryptedStr;
        this.signType = signType;
        this.encryptionKey = encryptionKey;
    }
}
